<?php
if(!defined('W_ROOT'))
  {
	$sp=split("/",$_SERVER['PHP_SELF']);
	
	if($_SERVER['HTTP_HOST'] == "localhost")
	    $sp[1] = '/' . $sp[1];
  	else
	    $sp[1] = '';

	require_once $_SERVER['DOCUMENT_ROOT'] . $sp[1] ."/libraryfiles/config.php";
  }
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $site_title?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="<?php echo $site_description;?>" />
<meta name="keywords" content="<?php echo $site_keywords;?>" />
<link rel="stylesheet" href="<?php echo W_ROOT;?>/css/style.css" />
<link rel="stylesheet" charset="utf-8" href="<?php echo W_ROOT;?>/css/style.php" type="text/css"/>

    <link href="<?php echo W_ROOT;?>/assets/css/bootstrap.css" rel="stylesheet">
    <link href="<?php echo W_ROOT;?>/assets/css/bootstrap-responsive.css" rel="stylesheet">
    <link href="<?php echo W_ROOT;?>/assets/css/docs.css" rel="stylesheet">
    <link href="<?php echo W_ROOT;?>/assets/js/google-code-prettify/prettify.css" rel="stylesheet">
    <script src="<?php echo W_ROOT;?>/assets/js/jquery.js"></script>
<?php
if(isset($include)){
	echo $include;
}
/* Add Javascript and CSS files */
?>
<script language="JavaScript">
function disableEnterKey(e)
{
     var key;     
     if(window.event)
          key = window.event.keyCode; //IE
     else
          key = e.which; //firefox     

     return (key != 13);
}

</script>
    <script src="<?php echo W_ROOT;?>/assets/js/bootstrap-transition.js"></script>
    <script src="<?php echo W_ROOT;?>/assets/js/bootstrap-collapse.js"></script>
    <script src="<?php echo W_ROOT;?>/assets/js/bootstrap-dropdown.js"></script>
    <script src="<?php echo W_ROOT;?>/assets/js/bootstrap-tooltip.js"></script>
    <script src="<?php echo W_ROOT;?>/assets/js/bootstrap-tab.js"></script>
    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
</head>
<body>

  <?php require_once(S_ROOT.'/includefiles/header.php');?>
  <?php require_once(S_ROOT.'/includefiles/c_howtobuy.php'); ?>
  <?php require_once(S_ROOT.'/includefiles/bottom.php'); ?>
  
	
</body>
</html>